<?php
/**
 * 邀请管理
 * Created by PhpStorm.
 * User: 王海东
 * Date: 2018/12/25
 * Time: 14:50
 */
namespace app\adm\controller;

use app\common\model\Admin;

class InvitationController extends BaseController
{
    /**
     * 邀请码管理
     * @author 王海东
     * @date
     * @return array
     * @throws \Exception
     */
    public function invitation()
    {
        $u      = new Admin();
        $info   = $u->info(UID);

        $data = [
            'code'  => $info['code'],
        ];

        rjd($data);
    }
}
